<div class="box">
<div class="box-header ">
    
    
    <ob_link><a class="btn" href="{:url('returnRoom')}"><i class="fa fa-plus"></i> 占用教室列表</a></ob_link>
    
    <div class="box-tools ">
        <div class="input-group input-group-sm search-form">
            <input name="search_data" class="pull-right search-input" value="{:input('search_data')}" placeholder="请输入您要归还的教室" type="text">
            <div class="input-group-btn">
              <button type="button" id="search" url="{:url('classlist')}" class="btn btn-default"><i class="fa fa-search"></i></button>
            </div>
        </div>
    </div>
    <br/>
  </div>
  
    
  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th>教室门牌号</th>
          <th>占用时间（课时）</th>
          <th>教室信息</th>
          <th>教室状态</th>
          <th>操作</th>
      </tr>
      </thead>
      {notempty name='list'}
        <tbody>
            {volist name='list' id='vo' }
                <tr>
                  <td>{$vo.name}</td>
                  <td>{$vo.work_time}</td>
                  <td>{$vo.bname}</td>
                  <td>{$vo.status_text}</td>
                  <td class="col-md-2 text-center">
                      <ob_link><a href="{:url('roomEdit', array('id' => $vo['id']))}" class="btn"><i class="fa fa-edit"></i> 归 还</a></ob_link>
                      &nbsp;
                      
                     
                  </td>
                </tr>
            {/volist}
        </tbody>
        {else/}
        <tbody><tr class="odd"><td colspan="7" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
      {/notempty}
      
    </table>
  </div>

  <div class="box-footer clearfix text-center">
      
  </div>

</div>